<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<% String adminName = request.getParameter("adminName");%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
      <base href="<%=basePath%>">
      <title>excel操作</title>
      <meta http-equiv="pragma" content="no-cache">
      <meta http-equiv="cache-control" content="no-cache">
      <meta http-equiv="expires" content="0">
      <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
      <meta http-equiv="description" content="This is my page">

      <link rel="stylesheet" type="text/css" href="css/DateOperation.css">
      <link type="text/css" rel="stylesheet" href="css/smartmenu.css">
      <script type="text/javascript" src="<%=basePath%>/jslib/jquery.js"></script>
      <script type="text/javascript" src="jslib/index/jquery-1.3.2.min.js"></script>
      <script type="text/javascript" src="jslib/index/smartmenu-min.js"></script>
      <script type="text/javascript">
          jQuery(window).ready(function () {
              jQuery("#navigation").Smartmenu({animationDuration:350});
          });
          SyntaxHighlighter.all();
      </script>

      <script language="JavaScript" type="text/javascript">
          function topage(page) {
              var form = document.getElementById("myform");
              document.getElementById("page")
                      .setAttribute("value",page);
              form.submit();
          }
      </script>
  </head>

  <body>
  <%@ include file="/page/share/menu.jsp" %>
  <div id="content">
      <table>
          <tr>
            <td>
                <form action="File!createExcelByRoomUsed.action" method="post" >
                    <input type="submit" value="生成房间使用信息 备份记录" class="input"/>
                </form>
            </td>
          </tr>
          <tr>
              <td>
                  <form action="File!createExcelByPerson.action" method="post"  >
                      <input type="submit" value="生成用户资料信息 备份记录" class="input"/>
                  </form>
              </td>
          </tr>
          <tr>
              <td>
                  <form action="File!recoverExcelByRoomUsed.action" method="post">
                      文件名：<label>
                      <input type="file" name="excelFileName" size="16" >
                  </label><br/><br/>
                  &nbsp&nbsp&nbsp&nbsp&nbsp还原前请先备份数据<br/> <br/>
                  <input type="submit" value="还原房间使用信息 " class="input"/>
                  </form>
              </td>
          </tr>
          <tr>
              <td>
                  <form action="Mysql!backupMysqlDatabase.action" method="post" >
                      <input type="submit" value="备份数据库" class="input"/>
                  </form>
              </td>
          </tr>
          <tr>
              <td>
                  <form action="Mysql!resumeMysqlDatabase.action" method="post" >
                      <input type="submit" value="还原数据库" class="input"/>
                  </form>
              </td>
          </tr>
      </table>
  </div>
  <div id="bottom">
      <ul>
          <li>
              联系我们：
              <a href="mailto:willsonz@qq.com?subject=KTV综合管理系统">willsonz@qq.com</a>
          </li>
      </ul>
      <ul>
          <li>
              ©&nbsp;Made By Cloud Team.
          </li>
      </ul>
  </div>
  </body>
</html>
